package tdt4240.iddqd;

import java.io.File;

public class Constants {
	// Assets
	public static final String FONT_ZELDA_TERMINAL = "fonts"+File.separator+"RetGanon.ttf";
	public static final String DIRECTORY_LEVELS = "levels";
	public static final String PREFIX_LEVELS = "level";

	// Element types from level files
	public static final String PLAYER = "P";
	public static final String LANDSCAPE_WALL = "LW";
	public static final String LANDSCAPE_PLANT = "LP";
	public static final String LANDSCAPE_FLOWER = "LF";
	public static final String ENEMY_PREFIX = "M";
	public static final String ENEMY_SIMPLE = "M1";
	public static final String ENEMY_MEDIUM = "M2";
	public static final String ENEMY_BOSS = "M5";
	public static final String CHECKPOINT_INTERMEDIATE = "CI";
	public static final String CHECKPOINT_END = "CE";

	// Menu buttons
	public static final int MENU_RESET = 0;
	public static final int MENU_QUIT = MENU_RESET + 1;
	public static final int MENU_CONTINUE = MENU_QUIT + 1;

	// Rotation
	public static final float CIRCLE = 360f;
	public static final float CIRCLE_ONE_EIGHTH = CIRCLE/8;
	public static final float CIRCLE_THREE_EIGHTH = CIRCLE * 3/8;
	public static final float CIRCLE_FIVE_EIGHTH = CIRCLE * 5/8;
	public static final float CIRCLE_SEVEN_EIGHTH = CIRCLE * 7/8;

	// Scale
	public static final float SCALE_PLAYER = 2.0f;
	public static final float SCALE_ENEMY_SIMPLE = 1.5f;
	public static final float SCALE_ENEMY_MEDIUM = 2.0f;
	public static final float SCALE_ENEMY_BOSS = 3.5f;

	public static final float STRETCH_WALL = 2.5f;

	// Last level
	public static final int FINAL_LEVEL = 3;
	
	// Game type
	public static final int GAME_NEW = 1;
	public static final int GAME_CONTINUE = GAME_NEW + 1;
	
	public static final String GAME_TYPE = "type";
}
